projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce90751
)
Protect xen/stdarg.h for multiple inclusion.
author
Keir Fraser
<keir@xen.org>
Thu, 16 Jun 2011 15:14:51 +0000
(16:14 +0100)
committer
Keir Fraser
<keir@xen.org>
Thu, 16 Jun 2011 15:14:51 +0000
(16:14 +0100)
Signed-off-by: Keir Fraser <keir@xen.org>
xen/include/xen/stdarg.h
patch
|
blob
|
history
diff --git
a/xen/include/xen/stdarg.h
b/xen/include/xen/stdarg.h
index f26fa5466309a0b0775d8eb4f6b389a1b44abc96..57e2c0e3bfe717aeedd26c55d49aace01933b76f 100644
(file)
--- a/
xen/include/xen/stdarg.h
+++ b/
xen/include/xen/stdarg.h
@@
-1,3
+1,6
@@
+#ifndef __XEN_STDARG_H__
+#define __XEN_STDARG_H__
+
#if defined(__OpenBSD__)
# include "/usr/include/stdarg.h"
#elif defined (__NetBSD__)
@@
-8,3
+11,5
@@
#else
# include <stdarg.h>
#endif
+
+#endif /* __XEN_STDARG_H__ */